package com.cqjtu.eecs.service;

import com.cqjtu.eecs.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cqjtu.eecs.entity.vo.RouterVo;

import java.util.Set;

/**
 * <p>
 * 权限 服务类
 * </p>
 *
 * @author     
 * @since 2022-03-04
 */
public interface IPermissionService extends IService<Permission> {

    /**
     * 获取当前登录用户的权限路由
     * @param name
     * @return
     */
    Set<RouterVo> getUserPermission(String name);
}
